<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>


    <!--导入资源-->
    <link rel="stylesheet" href="css/index.css">
    <script src="/html/js/axios.min.js"></script>
    <script src="/html/js/util.js"></script>
    <script src="/html/js/ajax.js"></script>
    <script src="/html/js/index.js"></script>

</head>
<body>
<div id="indexDiv">
    <div id="navDiv">
        <a href="/html/index.html">首页</a>  |
        <a href="/html/login.html">登录</a>  |
        <a href="/html/add.html">注册</a>  |
        <a href="/html/login.html">退出</a>  |
        <a href="">管理</a>  |
        <a href="">风格</a>
    </div>

    <div id="loginDiv">
        <span>登录状态与统计</span>
    </div>

    <div id="userDiv">
        <span style="margin-left: 100px">登录用户</span> <br>
        <img id="userImg" style="width: 40px;height: 40px;"><br>
        用户名: <span id="nameSpan"></span> <br>
        用户邮箱: <span id="emailSpan"></span>
    </div>

    <div id="tableDiv">
        <table border="1" width="100%" cellspacing="0">
            <thead style="background-color: #336799">
                <tr>
                    <th>频道名称</th>
                    <th>频道描述</th>
                    <th>主贴数量</th>
                </tr>
            </thead>
            <tbody id="channelData"></tbody>
        </table>
    </div>
</div>

</body>
</html>